//{{AFX_INCLUDES()
#include "calendar.h"
//}}AFX_INCLUDES
#if !defined(AFX_CALENDARDLG_H__1293EE20_3876_11D7_8ECD_CC8115EE3544__INCLUDED_)
#define AFX_CALENDARDLG_H__1293EE20_3876_11D7_8ECD_CC8115EE3544__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CalendarDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CCalendarDlg dialog

class CCalendarDlg : public CDialog
{
// Construction
public:
	CCalendarDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CCalendarDlg)
	enum { IDD = IDD_CALENDARDLG };
	CCalendar	m_ctlCalendar;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCalendarDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

public:
	void SetYear(short y);
	void SetDay(short d);
	void SetMonth(short m);

	short GetYear();
	short GetMonth();
	short GetDay();


// Implementation
protected:
	short m_year;
	short m_month;
	short m_day;

	// Generated message map functions
	//{{AFX_MSG(CCalendarDlg)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	afx_msg void OnPrevweek();
	afx_msg void OnNextweek();
	afx_msg void OnPrevmonth();
	afx_msg void OnNextmonth();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CALENDARDLG_H__1293EE20_3876_11D7_8ECD_CC8115EE3544__INCLUDED_)
